package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.ApplypayUserInfoMapper;
import com.xyy.saas.payment.dao.model.ApplypayUserInfo;
import com.xyy.saas.payment.service.ApplypayUserInfoService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class ApplypayUserInfoServiceImpl implements ApplypayUserInfoService {
    @Resource
    private ApplypayUserInfoMapper applypayUserInfoMapper;

    @Override
    public int insert(ApplypayUserInfo record) {
        return applypayUserInfoMapper.insert(record);
    }

    @Override
    public int updateByPrimaryKeySelective(ApplypayUserInfo record) {
        return applypayUserInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public ApplypayUserInfo queryUserInfoByAccountId(String accountId) {
        return applypayUserInfoMapper.queryUserInfoByAccountId(accountId);
    }

    @Override
    public List<ApplypayUserInfo> queryUserInfoByStatus(Integer status, Integer offset, Integer limit) {
        return applypayUserInfoMapper.queryUserInfoByStatus(status, offset, limit);
    }
}
